//@Time:2022/4/2 15:43
//@Author:aFun

package indi.csms_springboot.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import indi.csms_springboot.domain.User;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

public interface ManagerService {
    public boolean addUser(User user);

    public List<User> findAll();

    public boolean updateUser(User user);

    public boolean deleteUserById(Integer uid);

    public User findUserById(Integer uid);

    public boolean delSelectedUser(String[] ids);

    // 分页查找全部用户

    public IPage<User> findUserByPage(String _currentPage, String _rows, Map<String, String[]> condition);
}
